package ZiJieStream.FileInputStreamCopy;

import java.io.FileInputStream;
import java.io.IOException;

public class Test2 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("day24\\a.txt");

        byte[] b = new byte[2];
        int len = fis.read(b);
        System.out.println(len);

        String s = new String(b);
        System.out.println(s);
        fis.close();
    }
}
